<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DailyPayment.aspx.cs" Inherits="PayRoller.Manage.OrgInfo.DailyPayment" %>

<%@ Register Assembly="Huayou.Common" Namespace="Huayou.UI.WebControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css.css" type="text/css" rel="stylesheet">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <script language="javascript" src="../../js/jslib.js" type="text/javascript"></script>

</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <table width="99%" align="center" border="0" cellspacing="0" cellpadding="0" class="NormalText">
        <tr>
            <td colspan="2" class="HeadText" style="height: 40px">
                Daily payment details
            </td>
        </tr>
        <tr>
            <td height="24">
            </td>
        </tr>
        <tr>
            <td height="22">
                <cc1:DataGridTable CellPadding="1" CellSpacing="1" BackColor="#cccccc" Width="100%"
                    ID="dgdList" runat="server" BorderWidth="0px" BorderStyle="None" IsAllowPaging="True"
                    PageSize="25" OnDataBinding="dgdList_DataBinding" OnPageIndexChanged="dgdList_PageIndexChanged"
                    AutoGenerateColumns="False" CssClass="tableGrid" MaxRecord="0" PageCSS="scrollButton"
                    OnItemDataBound="dgdList_ItemDataBound" 
                    onitemcreated="dgdList_ItemCreated">
                    <PagerStyle CssClass="gridPager" BackColor="White" />
                    <SelectedItemStyle CssClass="gridSelectedItem" />
                    <ItemStyle Height="25px" CssClass="gridItem" BackColor="White"></ItemStyle>
                    <HeaderStyle Height="22px" CssClass="right-ta-ti01" Font-Bold="True"></HeaderStyle>
                    <AlternatingItemStyle CssClass="gridAltItem" />
                    <FooterStyle CssClass="gridFooter" BackColor="White" />
                    <EditItemStyle CssClass="gridEditItem" />
                    <Columns>
                        <asp:TemplateColumn>
                            <HeaderTemplate>
                                Company Name
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Literal runat="server" ID="litOrgName"></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn>
                            <HeaderTemplate>
                                Employee ID
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Literal runat="server" ID="litEmpSid"></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn>
                            <HeaderTemplate>
                                Employee Name
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Literal runat="server" ID="litEmpName"></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn DataField="BankName" HeaderText="Bank Name"></asp:BoundColumn>
                        <asp:TemplateColumn>
                            <HeaderTemplate>
                                Account Name
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Literal runat="server" ID="litUserName"></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn DataField="Bsb" HeaderText="BSB"></asp:BoundColumn>
                        <asp:BoundColumn DataField="AccountNum" HeaderText="A/C"></asp:BoundColumn>
                        <asp:BoundColumn DataField="PaymentAmount" HeaderText="Amount"></asp:BoundColumn>
                        <asp:BoundColumn DataField="ReferenceInfo" HeaderText="Reference"></asp:BoundColumn>
                        <asp:BoundColumn DataField="PaymentDate" HeaderText="Payment Date" DataFormatString="{0:dd/MM/yyyy}">
                        </asp:BoundColumn>
                        <asp:TemplateColumn>
                            <HeaderTemplate>Status</HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="libPayStatus" runat="server">NeedPay</asp:LinkButton><asp:Literal ID="litPayStatus" runat="server"></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                         <asp:TemplateColumn HeaderText="InvoiceStatus">
                                <ItemTemplate>
                                    <asp:Literal ID="litInvoiceStatus" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                    </Columns>
                </cc1:DataGridTable>
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:TextBox ID="txtParamstr" runat="server" Visible="False" Width="48px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td height="22" align="center">
                <asp:Label ID="lblTip" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
